﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SaunaClient.Model.Network
{
    [Serializable]
    public class TcpBaseSetting
    {
        private string hostAddress;
        private int portNumber;
        private bool useSsl;
        private string logFileDirectory;

        public TcpBaseSetting() { }

        /// <summary>
        /// Constructor
        /// </summary>
        public TcpBaseSetting(string hostAddress, int portNumber, bool useSsl, string logFileDirectory)
        {
            this.hostAddress = hostAddress;
            this.portNumber = portNumber;
            this.useSsl = useSsl;
            this.logFileDirectory = logFileDirectory;
        }

        public string HostAddress
        {
            get { return hostAddress; }
            set { hostAddress = value; }
        }

        public int PortNumber
        {
            get { return portNumber; }
            set { portNumber = value; }
        }

        public bool UseSsl
        {
            get { return useSsl; }
            set { useSsl = value; }
        }

        public string LogFileDirectory
        {
            get { return logFileDirectory; }
            set { logFileDirectory = value; }
        }
    }
}
